package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.UserDto;
import com.zzyl.vo.UserVo;

import java.util.List;

/**
 * @Description UserService
 * @Author chenchuang
 * @Date 2024-09-01
 */
public interface UserService {
    PageResponse<UserVo> getByPage(UserDto userDto, Integer pageNum, Integer pageSize);


    void createUser(UserDto userDto);

    void updateUser(UserDto userDto);

    UserVo currentUser();

    void updateUserStatus(Long id, String status);

    void deleteById(Long userId);

    void resetPasswords(Long userId);

    List<UserVo> selectList(UserDto userDto);
}
